package www.m01.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import www.m01.springcloud.domains.Payment;

/**
 * PaymentDao
 *
 * @author hyr
 * @date 2022/7/7
 */
@Mapper
public interface PaymentDao {

  public int create(Payment payment);

  public Payment getPaymentById(@Param("id") Long id);
}
